#include<stdio.h>
#pragma warning(disable:4996)
int main()
{
	double score[3] = { 0 };
	scanf("%lf %lf %lf", &score[1], &score[2], &score[3]);
	double sum = score[1] + score[2] + score[3];
	double avg = sum / 3;
	printf("%.2f %.2f", avg, sum);
	return 0;
}